<!DOCTYPE html>
<html>
<head>
    {include file="public/head"}
</head>
<body>
<div class="g-flexview">
    <header class="m-navbar">
        <a href="javascript:history.back();" class="navbar-item">
            <i class="back-ico"></i>
        </a>
        <div class="navbar-center">
            <span class="navbar-title">语种选择</span>
        </div>
    </header>
    <div class="g-scrollview">
        <div class="m-cell">
            <label class="cell-item" data-lang="zh-cn">
                <span class="cell-left">跟随系统</span>
                <label class="cell-right">
                    <input type="radio" name="radio" checked/>
                    <i class="cell-radio-icon"></i>
                </label>
            </label>
            <label class="cell-item" data-lang="zh-cn">
                <span class="cell-left">简体中文</span>
                <label class="cell-right">
                    <input type="radio" name="radio"/>
                    <i class="cell-radio-icon"></i>
                </label>
            </label>
            <label class="cell-item" data-lang="tw">
                <span class="cell-left">繁體中文(台灣)</span>
                <label class="cell-right">
                    <input type="radio" name="radio"/>
                    <i class="cell-radio-icon"></i>
                </label>
            </label>
            <label class="cell-item" data-lang="xg">
                <span class="cell-left">繁體中文(香港)</span>
                <label class="cell-right">
                    <input type="radio" name="radio"/>
                    <i class="cell-radio-icon"></i>
                </label>
            </label>
            <label class="cell-item" data-lang="e">
                <span class="cell-left">English</span>
                <label class="cell-right">
                    <input type="radio" name="radio"/>
                    <i class="cell-radio-icon"></i>
                </label>
            </label>
            <label class="cell-item" data-lang="b">
                <span class="cell-left">Bahasa Melayu</span>
                <label class="cell-right">
                    <input type="radio" name="radio"/>
                    <i class="cell-radio-icon"></i>
                </label>
            </label>
            <label class="cell-item" data-lang="r">
                <span class="cell-left">日本語</span>
                <label class="cell-right">
                    <input type="radio" name="radio"/>
                    <i class="cell-radio-icon"></i>
                </label>
            </label>
            <label class="cell-item" data-lang="v">
                <span class="cell-left">ViệtName</span>
                <label class="cell-right">
                    <input type="radio" name="radio"/>
                    <i class="cell-radio-icon"></i>
                </label>
            </label>
            <label class="cell-item" data-lang="h">
                <span class="cell-left">한국어</span>
                <label class="cell-right">
                    <input type="radio" name="radio"/>
                    <i class="cell-radio-icon"></i>
                </label>
            </label>
            <label class="cell-item" data-lang="t">
                <span class="cell-left">ภาษาไทย</span>
                <label class="cell-right">
                    <input type="radio" name="radio"/>
                    <i class="cell-radio-icon"></i>
                </label>
            </label>
        </div>
    </div>
</div>
{include file="public/js"}
<script>
    !function ($) {
        $('.m-cell .cell-item').click(function () {
            var lang=$(this).data('lang');
            if (lang == 'zh-cn'){
                dialog.toast('设置成功','success',1000);
            } else {
                dialog.toast('此区域未开放','error',1000);
            }
        });
    }(jQuery);
</script>
</body>
</html>